<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加商品</title>
    <link rel="stylesheet" href="../css/from.css">
    <link rel="stylesheet" href="../themes/default/easyui.css">
    <link rel="stylesheet" href="../themes/icon.css">
    <script src="../js/jquery.min.js"></script>
    <script src="../js/jquery.easyui.min.js"></script>
    <script src="../js/easyui-lang-zh_CN.js"></script>
    <script>
        function loadSupplier() {
            $("#list").dialog({
                title: '供应商列表',
                width: 780,
                height: 400,
                closed: false,
                cache: false,
                modal: true
            });

        }
        function closeDg(name) {
            $("#supplierName").val(name);
            $("#list").dialog("close");
        }
    </script>
    <style>
        body {
            font-size:12px;
            padding:10px
        }
        .l-table-edit {
            border:#84a0c4 1px solid
        }
        .l-table-edit-td {
            padding:4px;
            font-size:12px;
        }
        
    </style>


</head>
<body>
<form name="form"  id="form" action="" method="post">
    <table cellpadding="0" cellspacing="0" class="l-table-edit" style="width:100%"  >
        <tr >
            <td width="17%"  align="right" class="l-table-edit-td">产品编号：</td>
            <td width="27%" align="left" class="l-table-edit-td"><input  type="text" id="code" value="XJ20180731204051" size="30" maxlength="100" ltype="text" /></td>
            <td width="13%"  align="right" class="l-table-edit-td">添加日期：</td>
            <td width="43%" align="left" class="l-table-edit-td"><input  type="text" id="addDate" value="2018-07-31 20:40:51" maxlength="30" /></td>
        </tr>
        <tr>
            <td width="17%" align="right" class="l-table-edit-td">
                <a href="javascript:loadSupplier()">供应商：</a>
            </td>
            <td align="left" class="l-table-edit-td">
                <input type="text" id="supplierName"  value="" size="30" maxlength="100" ltype="text"  />
            <td width="13%" align="right" class="l-table-edit-td">价格：</td>
            <td align="left" class="l-table-edit-td">
                <input name="" type="text" id="contacter" value="" maxlength="30" ltype="text" /></td>
        </tr>
        <tr>
            <td width="17%" align="right" class="l-table-edit-td">产品名：</td>
            <td align="left" class="l-table-edit-td"><input  type="text" id="type" value="" size="30" maxlength="50" ltype="text" /></td>
            <td width="17%" align="right" class="l-table-edit-td">库存：</td>
            <td align="left" class="l-table-edit-td"><input type="text"  class="l-table-edit" id="fax" value="" maxlength="50"  ltype="text" /></td>
        </tr>
        <tr>
            <td align="right" class="l-table-edit-td" valign="top">描述：</td>
            <td align="left" class="l-table-edit-td" colspan="3">
                <textarea  rows="10" class="l-table-edit" style="width:90%" ></textarea>
            </td>
        </tr>
    </table>
</form>
<br>
<input  type="button" value="新   增" style="width:60px">
<div id="list"  style="display: none">
    <iframe src='supplier_list.html' frameborder='0'style='width: 100%;height: 100%'></iframe>
</div>
</body>
</html>